package com.wcs.exam.controller.biz.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author wcs
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "用户路由-响应对象")
public class LoginRouterResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 3438309982265665769L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;
    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;
    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称")
    private String menuName;
    /**
     * 菜单图标
     */
    @Schema(description = "菜单图标")
    private String menuIcon;
    /**
     * 菜单路径
     */
    @Schema(description = "菜单路径")
    private String path;
    /**
     * 组件路径
     */
    @Schema(description = "组件路径")
    private String component;
    /**
     * 前端权限
     */
    @Schema(description = "前端权限")
    private String permission;

    @Schema(description = "使用布局(1使用，0禁用)")
    private Boolean isLayout;
}
